package cn.cvs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;


@ComponentScan(basePackages = {"cn.cvs"})
@MapperScan(basePackages = "cn.cvs.eduservice.mapper")
@SpringBootApplication
//@EnableTransactionManagement
@EnableCaching
@EnableRabbit
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
